#{extends 'main.html' /}
#{set title:'Home' /}
 
#{if prints.size()}
    	<div id="group-title">
    		${group.name}
    	</div>
        <div id="prints">
            #{list items:prints, as:'print'}
                <div id="print">
                	#{image print:print, group:group, as:'small' /}
                	<h2>
					    <a href="@{Application.print(group.id, print.id)}">${print.name}</a>
					</h2>
				</div>
            #{/list}
        </div>
    
#{/if}
 
#{else}
    <div class="empty">
        There is currently nothing to read here.
    </div>
#{/else}